﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Common;
using System.Web;
using StackExchange.DataExplorer.Helpers;

namespace StackExchange.DataExplorer.Models
{
    public class DataExplorerDatabase : DataExplorerDatabaseHelper<DataExplorerDatabase>
    {
        public DataExplorerTable<Site> Sites { get; private set; }
        public DataExplorerTable<User> Users { get; private set; }
        public DataExplorerTable<OpenIdWhiteList> OpenIdWhiteList { get; private set; }
        public DataExplorerTable<UserOpenId> UserOpenIds { get; private set; }
        public DataExplorerTable<Vote> Votes { get; private set; }
        public DataExplorerTable<BlackList> BlackList { get; private set; }
        public DataExplorerTable<QuerySet> QuerySets { get; private set; }
        public DataExplorerTable<AppSetting> AppSettings { get; private set; }
        public DataExplorerTable<Revision> Revisions { get; private set; }
        public DataExplorerTable<Query> Queries { get; private set; }
        public DataExplorerTable<QuerySetRevision> QuerySetRevisions { get; private set; }
    }

    public class DataExplorerSite : DataExplorerDatabaseHelper<DataExplorerSite> {}
}